﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Dazaza.Framework.Config
{
    /// <summary>
    ///  数据库连接字符串配置
    /// </summary>
    [Serializable]
    public class ConnectionConfig
    {
        /// <summary>
        /// 配置项集合
        /// </summary>
        public List<ConnectionConfigItem> ConnectionConfigItems { get; set; }
    }

    /// <summary>
    /// 配置项对象
    /// </summary>
    [Serializable]
    public class ConnectionConfigItem
    {
        public string Name{get;set;}
        public string ConnectionString{get;set;}
    }
}
